<%@ Page Language="C#" MasterPageFile="~/MasterPage2.master" AutoEventWireup="true" CodeFile="ReporteFacturas.aspx.cs" Inherits="ReporteFacturas" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="C_ReporteFacturas" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <fieldset>
    <legend>Facturas Compras</legend>
        <table>
            <tr>
                <td style="height: 27px">
                </td>
                <td style="height: 27px">
                    <asp:Label ID="lb_nroFactura" runat="server" CssClass="label" Text="Nro Factura:"></asp:Label></td>
                <td style="height: 27px">
                    <asp:TextBox ID="tb_nroFactura" runat="server" CssClass="textBoxLetras, textBox10" MaxLength="10"></asp:TextBox></td>
                <td class="derecha" style="width: 14px; height: 27px">
                </td>
                <td style="width: 146px; height: 27px;" class="izquierda">
                    <asp:Label ID="lb_empresa" runat="server" CssClass="label" Text="Proveedor:"></asp:Label></td>
                <td style="width: 7px; height: 27px;">
                    <asp:TextBox ID="tb_proveedor" runat="server" CssClass="textBoxLetras, textBox30"
                        MaxLength="30"></asp:TextBox></td>
                <td style="width: 10px; height: 27px">
                </td>
                <td style="width: 7px; height: 27px;">
                    <asp:Label ID="lb_ordenCompra" runat="server" CssClass="label" Text="Orden de Compra"></asp:Label></td>
                <td style="width: 145px; height: 27px;">
                    <asp:TextBox ID="tb_ordenCompra" runat="server" CssClass="textBoxLetras, textBox10" MaxLength="10"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td style="width: 14px">
                </td>
                <td style="width: 146px" class="izquierda">
                </td>
                <td style="width: 7px">
                </td>
                <td style="width: 10px">
                </td>
                <td style="width: 7px">
                </td>
                <td style="width: 145px">
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <asp:Label ID="lb_producto" runat="server" CssClass="label" Text="Producto:"></asp:Label></td>
                <td>
                    <asp:TextBox ID="tb_nombreProducto" runat="server" CssClass="textBoxLetras, textBox30"
                        MaxLength="30"></asp:TextBox>
                        
                        </td>
                <td class="derecha" style="width: 14px">
                </td>
                <td class="izquierda" style="width: 146px">
                    <asp:Label ID="lb_marca" runat="server" CssClass="label" Text="Marca:"></asp:Label></td>
                <td style="width: 7px">
                    <asp:TextBox ID="tb_marca" runat="server" CssClass="textBoxLetras, textBox30" MaxLength="30"></asp:TextBox></td>
                   
                <td style="width: 10px">
                </td>
                <td style="width: 7px">
                    <asp:Label ID="lb_modelo" runat="server" CssClass="label" Text="Modelo:"></asp:Label></td>
                    <td style="width: 145px">
                    <asp:TextBox ID="tb_modelo" runat="server" CssClass="textBoxLetras, textBox20" MaxLength="20"></asp:TextBox></td>
                   
                     
            </tr>
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td style="width: 14px">
                </td>
                <td style="width: 146px">
                </td>
                <td style="width: 7px">
                </td>
                <td style="width: 10px">
                </td>
                <td style="width: 7px">
                </td>
                <td class="derecha" style="width: 145px">
                    <asp:ImageButton ID="ib_reporte" runat="server" CssClass="tamanhoBoton" ImageUrl="~/imagen/lupa.png"
                        OnClick="ib_reporte_Click" ToolTip="Generar Reporte" />
                    <asp:ImageButton ID="ib_cancelar" runat="server" CssClass="tamanhoBoton" ImageUrl="~/imagen/cancel.png"
                        OnClick="ib_cancelar_Click" ToolTip="Cancelar" /></td>
            </tr>
        </table>
        &nbsp;
                    <cc1:FilteredTextBoxExtender ID="ftbe_nombreProducto" runat="server" FilterType="UppercaseLetters, LowercaseLetters, Custom" ValidChars=" "
                        TargetControlID="tb_nombreProducto">
                    </cc1:FilteredTextBoxExtender>
        <cc1:FilteredTextBoxExtender ID="ftbe_nroFactura" runat="server" FilterType="Numbers"
            TargetControlID="tb_nroFactura">
        </cc1:FilteredTextBoxExtender><cc1:FilteredTextBoxExtender ID="ftbe_ordenCompra" runat="server" FilterType="Numbers"
            TargetControlID="tb_ordenCompra">
        </cc1:FilteredTextBoxExtender>
     <cc1:FilteredTextBoxExtender ID="ftbe_marca" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
         TargetControlID="tb_marca" ValidChars=" -">
     </cc1:FilteredTextBoxExtender>
     <cc1:FilteredTextBoxExtender ID="ftbe_empresa" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
         TargetControlID="tb_proveedor" ValidChars=" &-">
     </cc1:FilteredTextBoxExtender>
     <cc1:FilteredTextBoxExtender ID="ftbe_modelo" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Numbers, Custom"
         TargetControlID="tb_modelo" ValidChars=" -&">
     </cc1:FilteredTextBoxExtender>
    
    
    </fieldset>
    
    <fieldset class="centro">
    <legend>Reportes</legend>&nbsp;<CR:CrystalReportViewer ID="Reporte_Factura" runat="server"
        AutoDataBind="True" DisplayGroupTree="False" Height="1093px" ReportSourceID="CrystalReportSource1"
        Width="775px" />
        <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
            <Report FileName="Reportes\ReporteFactura.rpt">
            </Report>
        </CR:CrystalReportSource>
        <br />
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
    
    </fieldset>
</asp:Content>